#pragma once

class QkBaseView;

class QkViewManager : public QWidget
{
	Q_OBJECT
public:
	QkViewManager(QWidget *parent);
	~QkViewManager();

public:
	int addView(QkBaseView *view);
	QkBaseView *viewAt(int index);
	void setActiveView(QkBaseView *view);
	int count() const;
	int currentIndex() const;

protected:
	void resizeEvent(QResizeEvent *event);

private:
	QList<QkBaseView*> m_viewList;
	int m_currentIndex;
};